import Vue from 'vue'
import VueRouter from 'vue-router'
import { routers } from "./router"
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'

NProgress.configure({ showSpinner: false })
Vue.use(VueRouter)


export const router = new VueRouter({
  // mode: 'history',
  routes: routers
})
